 /*******************************************************************************
  * Copyright (c) 2000, 2005 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
  *
  * Contributors:
  * IBM Corporation - initial API and implementation
  *******************************************************************************/

 package org.eclipse.ui.internal.editors.text;


 import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Control;

 import org.eclipse.jface.preference.PreferencePage;

 import org.eclipse.ui.editors.text.ITextEditorHelpContextIds;

 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.IWorkbenchPreferencePage;
 import org.eclipse.ui.PlatformUI;




 /**
  * The preference page for setting the editor options.
  * <p>
  * This class is internal and not intended to be used by clients.</p>
  *
  * @since 3.1
  */
 public class LanguageEditorPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {




     public LanguageEditorPreferencePage() {
         setDescription("Configure the preferences for individual languages on their respective page."); //$NON-NLS-1$
 setPreferenceStore(EditorsPlugin.getDefault().getPreferenceStore());
     }

     /*
      * @see IWorkbenchPreferencePage#init()
      */
     public void init(IWorkbench workbench) {
     }

     /*
      * @see PreferencePage#createControl(Composite)
      */
     public void createControl(Composite parent) {
         super.createControl(parent);
         PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), ITextEditorHelpContextIds.TEXT_EDITOR_PREFERENCE_PAGE);
     }

     /*
      * @see PreferencePage#createContents(Composite)
      */
     protected Control createContents(Composite parent) {
         Composite composite= new Composite(parent, SWT.NONE);

         return composite;
     }

     /*
      * @see PreferencePage#performOk()
      */
     public boolean performOk() {
         return true;
     }
 }

